package com.example.app.retrofit2.api;

import com.example.app.retrofit2.bean.LoginResultBean;
import com.example.app.retrofit2.bean.LoginSendBean;

import java.util.Map;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;
import retrofit2.http.QueryMap;

public interface Api2 {
    @POST(GetApi2.login)
    Call<LoginResultBean> login(@QueryMap Map<String,String> map, @Body LoginSendBean loginSendBean);

}
